A8C\FSE\Block_Patterns_From_Api_Test S

Total Complexity 10
Dependencies 4
Dependents 0
Total lines 208
Lines of code 125
Logical lines of code 52
Comment lines 43
Methods 9
Properties 1

Methods 9

Method Rating Maintainability Complexity Lines of code
multiple_route_pattern_registration()
S
63 2 11
setUp()
S
57 1 18
test_patterns_request_succeeds_with_override_source_site()
S
57 1 17
test_load_block_patterns_from_api_is_skipped_in_wrong_request_context()
S
58 1 17
createBlockPatternsUtilsMock()
S
61 1 14
test_patterns_request_succeeds_with_empty_cache()
S
59 1 14
test_patterns_request_succeeds_with_set_cache()
S
61 1 12
test_load_block_patterns_from_api_runs_in_correct_request_context()
S
62 1 12
test_patterns_site_editor_source_site()
S
63 1 10